package com.example.webdemo.dao;

import com.example.webdemo.model.ArticleInfo;

import java.util.List;

public interface ArticleInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ArticleInfo row);

    int insertSelective(ArticleInfo row);

    ArticleInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ArticleInfo row);

    int updateByPrimaryKeyWithBLOBs(ArticleInfo row);

    int updateByPrimaryKey(ArticleInfo row);

    List<ArticleInfo> selectAll();

    List<ArticleInfo> selectByUserId(Integer userId);
}